Describes an interval of time to be used in time-based calculations.
T
: The duration of the interval.T
[InvalidCastException](https://learn.microsoft.com/dotnet/api/system.invalidcastexception)
: Thrown if T
is not convertible to a [InvalidCastException](https://learn.microsoft.com/dotnet/api/system.invalidcastexception)
: Thrown if T
is not convertible to a [InvalidCastException](https://learn.microsoft.com/dotnet/api/system.invalidcastexception)
: Thrown if T
is not convertible to a [InvalidCastException](https://learn.microsoft.com/dotnet/api/system.invalidcastexception)
: Thrown if T
is not convertible to a [InvalidCastException](https://learn.microsoft.com/dotnet/api/system.invalidcastexception)
: Thrown if T
is not convertible to a [InvalidCastException](https://learn.microsoft.com/dotnet/api/system.invalidcastexception)
: Thrown if T
is not convertible to a [InvalidCastException](https://learn.microsoft.com/dotnet/api/system.invalidcastexception)
: Thrown if T
is not convertible to a [InvalidCastException](https://learn.microsoft.com/dotnet/api/system.invalidcastexception)
: Thrown if T
is not convertible to a [InvalidCastException](https://learn.microsoft.com/dotnet/api/system.invalidcastexception)
: Thrown if T
is not convertible to a [InvalidCastException](https://learn.microsoft.com/dotnet/api/system.invalidcastexception)
: Thrown if T
is not convertible to a [InvalidCastException](https://learn.microsoft.com/dotnet/api/system.invalidcastexception)
: Thrown if T
is not convertible to a [InvalidCastException](https://learn.microsoft.com/dotnet/api/system.invalidcastexception)
: Thrown if T
is not convertible to a